package com.gxan.renshiservice.impl;

import com.gxan.pojo.SysJob;
import com.gxan.renshidao.SysJobDao;
import com.gxan.renshidao.impl.SysJobDaoImpl;
import com.gxan.renshiservice.ServiceJob;

import java.sql.SQLException;
import java.util.List;

public class ServiceJobImpl implements ServiceJob {

    @Override
    public List<SysJob> findJob() throws SQLException {
        SysJobDao sysJobDao = new SysJobDaoImpl();
        List<SysJob> list = sysJobDao.findJob();
        return list;
    }
}
